home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / clib / lowlevel_protos.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  2KB  |  70 lines

  1. #ifndef  CLIB_LOWLEVEL_PROTOS_H
  2. #define  CLIB_LOWLEVEL_PROTOS_H
  3.  
  4. /*
  5. **    $VER: lowlevel_protos.h 40.6 (30.7.93)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  EXEC_INTERRUPTS_H
  18. #include <exec/interrupts.h>
  19. #endif
  20. #ifndef  UTILITY_TAGITEM_H
  21. #include <utility/tagitem.h>
  22. #endif
  23. #ifndef  DEVICES_TIMER_H
  24. #include <devices/timer.h>
  25. #endif
  26. #ifndef  LIBRARIES_LOWLEVEL_H
  27. #include <libraries/lowlevel.h>
  28. #endif
  29. /*--- functions in V40 or higher (Release 3.1) ---*/
  30.  
  31. /* CONTROLLER HANDLING */
  32.  
  33. ULONG ReadJoyPort( unsigned long port );
  34.  
  35. /* LANGUAGE HANDLING */
  36.  
  37. UBYTE GetLanguageSelection( void );
  38.  
  39. /* KEYBOARD HANDLING */
  40.  
  41. ULONG GetKey( void );
  42. void QueryKeys( struct KeyQuery *queryArray, unsigned long arraySize );
  43. APTR AddKBInt( APTR intRoutine, APTR intData );
  44. void RemKBInt( APTR intHandle );
  45.  
  46. /* SYSTEM HANDLING */
  47.  
  48. ULONG SystemControlA( struct TagItem *tagList );
  49. ULONG SystemControl( Tag firstTag, ... );
  50.  
  51. /* TIMER HANDLING */
  52.  
  53. APTR AddTimerInt( APTR intRoutine, APTR intData );
  54. void RemTimerInt( APTR intHandle );
  55. void StopTimerInt( APTR intHandle );
  56. void StartTimerInt( APTR intHandle, unsigned long timeInterval,
  57.     long continuous );
  58. ULONG ElapsedTime( struct EClockVal *context );
  59.  
  60. /* VBLANK HANDLING */
  61.  
  62. APTR AddVBlankInt( APTR intRoutine, APTR intData );
  63. void RemVBlankInt( APTR intHandle );
  64.  
  65. /* MORE CONTROLLER HANDLING */
  66.  
  67. BOOL SetJoyPortAttrsA( unsigned long portNumber, struct TagItem *tagList );
  68. BOOL SetJoyPortAttrs( unsigned long portNumber, Tag firstTag, ... );
  69. #endif     /* CLIB_LOWLEVEL_PROTOS_H */
  70.